package cn.wolfcode.wolf2w.service;

import cn.wolfcode.wolf2w.domain.TravelComment;
import cn.wolfcode.wolf2w.domain.UserInfo;
import cn.wolfcode.wolf2w.query.TravelCommentQuery;
import org.springframework.data.domain.Page;

import java.util.List;

public interface ITravelCommentService {
	/**
	 * 新增
	 */
	void addComment(TravelComment travelComment);

	/**
	 * 查询单个
	 */
	TravelComment get(String id);

	/**
	 * 新增
	 */
	void update(TravelComment travelComment);

	/**
	 * 查询该游记所有的评论
	 */
	List<TravelComment> comments(String travelId);
}
